package com.ruoyi.report_tg.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.utils.BigDecimalUtil;
import lombok.Data;


/**
 * 土的承载比（CBR）含水率试验记录详细视图对象 report_tg_tdczbhsl_ba_detail
 *
 * @author zyb
 * @date 2024-10-29
 */
@Data
@ExcelIgnoreUnannotated
public class TdczbhslBaDetailVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 主表id
     */
    @ExcelProperty(value = "主表id")
    private Long excelId;

    /**
     * 行号默认一批18行
     */
    @ExcelProperty(value = "行号默认一批18行")
    private Long baRowNumber;

    /**
     * 含水率
     */
    @ExcelProperty(value = "含水率")
    private BigDecimal hansl;

    /**
     * 干密度
     */
    @ExcelProperty(value = "干密度")
    private BigDecimal ganmd;

    /**
     * 盒号
     */
    @ExcelProperty(value = "盒号")
    private String heh;

    /**
     * 盒质量
     */
    @ExcelProperty(value = "盒质量")
    private BigDecimal hezl;

    /**
     * 盒+湿土质量
     */
    @ExcelProperty(value = "盒+湿土质量")
    private BigDecimal hejstzl;

    /**
     * 盒+干土质量
     */
    @ExcelProperty(value = "盒+干土质量")
    private BigDecimal hejgtzl;

    /**
     * 水分质量
     */
    @ExcelProperty(value = "水分质量")
    private BigDecimal shifzl;

    /**
     * 干土质量
     */
    @ExcelProperty(value = "干土质量")
    private BigDecimal gantzl;

    /**
     * heh_id
     */
    @ExcelProperty(value = "heh_id")
    private Long hehId;

    public void setHansl(BigDecimal hansl) {
        this.hansl = BigDecimalUtil.stpTrailZero(hansl);
    }

    public void setGanmd(BigDecimal ganmd) {
        this.ganmd = BigDecimalUtil.stpTrailZero(ganmd);
    }

    public void setHezl(BigDecimal hezl) {
        this.hezl = BigDecimalUtil.stpTrailZero(hezl);
    }

    public void setHejstzl(BigDecimal hejstzl) {
        this.hejstzl = BigDecimalUtil.stpTrailZero(hejstzl);
    }

    public void setHejgtzl(BigDecimal hejgtzl) {
        this.hejgtzl = BigDecimalUtil.stpTrailZero(hejgtzl);
    }

    public void setShifzl(BigDecimal shifzl) {
        this.shifzl = BigDecimalUtil.stpTrailZero(shifzl);
    }

    public void setGantzl(BigDecimal gantzl) {
        this.gantzl = BigDecimalUtil.stpTrailZero(gantzl);
    }

    public TdczbhslBaDetailVo(Long excelId, Long baRowNumber) {
        this.excelId = excelId;
        this.baRowNumber = baRowNumber;
    }
}
